<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?><tr><td class='title'><span class="need-title">*</span>标题</td><td bgcolor='ffffff'><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#DBEAF5">
<tr> 
  <td height="25" bgcolor="#FFFFFF">
<?=$tts?"<select name='ttid'><option value='0'>标题分类</option>$tts</select>":""?>
	<input type=text name=title  id='tribe_title' value="<?=htmlspecialchars(stripSlashes($r[title]))?>" size="60"> 
	<input type="button" name="button" value="图文" onclick="document.add.title.value=document.add.title.value+'(图文)';"> 
  </td>
</tr>
<tr> 
  <td height="25" bgcolor="#FFFFFF">属性: 
	<input name="titlefont[b]" type="checkbox" value="b"<?=$titlefontb?>>粗体
	<input name="titlefont[i]" type="checkbox" value="i"<?=$titlefonti?>>斜体
	<input name="titlefont[s]" type="checkbox" value="s"<?=$titlefonts?>>删除线
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;颜色: <input name="titlecolor" type="text" value="<?=stripSlashes($r[titlecolor])?>" size="10"><a onclick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a>
  </td>
</tr>
</table></td></tr>
<tr><td  class='title'><span class="need-title">*</span>圈子介绍</td><td bgcolor='ffffff'><textarea name="content" cols="56" rows="4" id="content"><?=$ecmsfirstpost==1?"":htmlspecialchars(stripSlashes($r[content]))?></textarea>
</td></tr>
<tr><td  class='title'>圈子类型</td><td bgcolor='ffffff'><select name="type" id="tribe_type">
   <option value="0"<?=$r[type]=="请选择"||$ecmsfirstpost==1?' selected':''?>>请选择</option>
   <option value="1"<?=$r[type]=="1"?' selected':''?>>自由群体</option>
   <option value="2"<?=$r[type]=="2"?' selected':''?>>高校户外</option>
   <option value="3"<?=$r[type]=="3"?' selected':''?>>俱乐部</option>
   <option value="4"<?=$r[type]=="4"?' selected':''?>>兴趣小组</option>
   <option value="5"<?=$r[type]=="5"?' selected':''?>>环保公益</option>
  <option value="6"<?=$r[type]=="6"?' selected':''?>>其他</option>
</select></td></tr>
<tr>
   <td  class='title'>城市</td><td bgcolor='ffffff'><select name="province" id="slt_province">
</select>&nbsp;<select name="city" id="slt_city">
</select><input type="checkbox" id='all_city'/>全国，不分城市</td>
</tr>
<tr><td  class='title'><span class="need-title">*</span>标签</td><td bgcolor='ffffff'><input name="tags" type="text" id="tags" size='50' value="<?=$ecmsfirstpost==1?"":htmlspecialchars(stripSlashes($r[tags]))?>" size="">
<div class='tribe_tags'>
	<span><input type='checkbox'  value='登山' />登山</span>
	<span><input type='checkbox'  value='徒步' />徒步</span>
	<span><input type='checkbox'  value='野营' />野营</span>
	<span><input type='checkbox'  value='自驾' />自驾</span>
	<span><input type='checkbox'  value='滑雪' />滑雪</span><br />
	<span><input type='checkbox'  value='环保公益' />环保公益</span>	
             <span><input type='checkbox'  value='户外体育' />户外体育</span>
	<span><input type='checkbox'  value='聚会' />聚会</span>
</div></td></tr>
<tr><td  class='title'>权限</td><td bgcolor='ffffff'><input name="permission" type="radio" value="1"<?=$r[permission]=="1"?' checked':''?>>公开
<div>圈子内容完全公开，随时可以加入。</div>
<input name="permission" type="radio" value="2"<?=$r[permission]=="2"?' checked':''?>>半公开
<div>圈子内容完全公开，需要批准才能加入。</div>
<input name="permission" type="radio" value="3"<?=$r[permission]=="3"?' checked':''?>>私密
<div>只有成员才能看到圈子，非成员需要接受成员的邀请后才能加入。</div>
</td></tr>